package com.jm10010;

/**
 * @ref http://www.qipei.hc360.com/autoa/2022/0408/18770.html
 * @ref https://www.linshangtech.cn/tech/tech194.html
 */
public class Film {
    private double reRed;
    private double rePur;
    private double reVis;

    public Film(double reRed, double rePur, double reVis) {
        this.reRed = reRed;
        this.rePur = rePur;
        this.reVis = reVis;
    }

    public double total() {
        return this.reRed * 0.53F + this.rePur * 0.03F + this.reVis * 0.44F;
    }
}
